package com.ssy.lingxi.pay.api.model.vo.request.allInPay;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author lqa
 * @version 2.0.0
 * @date 2021/11/29
 */
@Data
public class AllInPayEnterPriseMemberReqVO implements Serializable {

    @NotNull(message = "请输入企业名称")
    @ApiModelProperty(value = "通联企业用户名称")
    private String companyName;

    @NotNull(message = "请输入法人姓名")
    @ApiModelProperty(value = "法人姓名")
    private String name;

    @NotNull(message = "请选择法人证件类型")
    @ApiModelProperty(value = "法人证件类型(目前只支持身份证) 1-身份证 2-护照 3-军官证。。。")
    private Integer cardType;

    @NotNull(message = "请输入法人证件号码")
    @ApiModelProperty(value = "法人证件号码")
    private String cardNo;

    @NotNull(message = "请输入正确的法人手机号码")
    @ApiModelProperty(value = "法人手机号码")
    private String phone;

    @NotNull(message = "请输入企业对公账户")
    @ApiModelProperty(value = "企业对公账户")
    private String accountNo;

    @NotNull(message = "请输入支付行号")
    @ApiModelProperty(value = "请输入支付行号")
    private String bankNo;

    @NotNull(message = "请输入开户银行名称")
    @ApiModelProperty(value = "开户银行名称")
    private String bankName;

    @NotNull(message = "请输入开户行支行名称")
    @ApiModelProperty(value = "开户行支行名称")
    private String branchName;
    /**
     * 统一社会信用号码
     */
    private String uniCredit="91440105065805264E";

    @ApiModelProperty(value = "会员电子协议编号")
    private String ContractNo;

    @ApiModelProperty(value = "法人所需证件以及营业照照片")
    private List<IdCardCollectVO> picUrl;

    @ApiModelProperty(value = "会员类型 2-企业会员 3-个人会员")
    private Integer memberType;
    /**
     * true：系统自动审核 false：需人工审核
     */
    private Boolean isAuth = false;

}
